@extends('main')

@section('tip', '登录')

@section('content')

<div class="row">
    <div class="col-md-6 col-md-offset-3">
    <h1>登录</h1>
    <hr>
    {!! Form::open() !!}
    {!! Form::label('email', '邮箱') !!}
    {!! Form::text('email', null, ['class'=>'form-control']) !!}
    {!! Form::label('password', '密码', ['style'=>'margin-top:20px']) !!}
    {!! Form::password('password', ['class'=>'form-control']) !!}
    {!! Form::checkbox('remember', 1, null, ['style'=>'margin-top:10px']) !!} 记住我
    <br>
    {!! Form::submit('登录', ['class'=>'btn btn-primary btn-lg btn-block', 'style'=>'margin-top:20px']) !!}
    {{-- 路由,innerHtml,路由参数,attr --}}
    {!! Html::linkRoute('mail', '忘记密码?', [], []) !!}
    {!! Form::close() !!}
    </div>
</div>

@endsection
